#!/usr/bin/python
# vim:fileencoding=utf8

import verb

def be_to_string(**form):
    person = form.get('person', 0)
    plurum = form.get('plurum', False)
    if form.get('question', False):
        return ''
    elif plurum or person == 2:
        return 'are'
    elif person == 3:
        return 'is'
    elif person == 1:
        return 'am' 
    else:
        return 'be'
    
def do_to_string(**form):
    person = form.get('person', 0)
    plurum = form.get('plurum', False)
    if not plurum and person == 3:
        return 'does'
    else:
        return 'do'
    
to_do = verb.Verb('do')
to_do.to_string = do_to_string

to_be = verb.Verb('be')
to_be.to_string = be_to_string